home *** CD-ROM | disk | FTP | other *** search
/ Strategy Challenges Collection / Strategy Challenges Collection.iso / pc / demo / demodata / menu.dxr / 00201.ls < prev    next >
Encoding:
Text File  |  1996-10-02  |  666 b   |  29 lines

  1. on mouseDown
  2.   global gTT3
  3.   set vClick to clickOn()
  4.   sound stop 1
  5.   sound stop 2
  6.   puppetSound("clickSound")
  7.   repeat while the stillDown
  8.     if not rollOver(vClick) then
  9.       set the castNum of sprite 6 to gTT3
  10.       updateStage()
  11.       set vButtonHit to 0
  12.       next repeat
  13.     end if
  14.     set the castNum of sprite 6 to the number of member "TThings3_Dn"
  15.     updateStage()
  16.     set vButtonHit to 1
  17.   end repeat
  18.   puppetSound("clickSound")
  19.   if vButtonHit = 1 then
  20.     set the castNum of sprite 6 to gTT3
  21.     updateStage()
  22.     set jumpName to "TThings3"
  23.     clearPuppets(2, 12)
  24.     go(the frame + 1)
  25.     puppetSound(0)
  26.     PlayDemoFrame(1, jumpName)
  27.   end if
  28. end
  29.